using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using TowerDefense_Dx.Core;
using TowerDefense_Dx.GameLogic;

namespace TowerDefense_Dx
{
    public partial class Form1 : Form
    {
        //private DxInitGraphics _graphic = null;
        public DxKey _key = null;
        public DxMouse _mice = null;

        public Form1()
        {
            InitializeComponent();
            Cursor.Position = Point.Empty;

            this.FormBorderStyle = FormBorderStyle.None;
            this.StartPosition = FormStartPosition.Manual;
            this.Show();

            _key = new DxKey(this);
            _mice = new DxMouse(this);
            GameManager game = new GameManager(this);
            game.Init();
            game.GameLoop();
        }
    }
}